﻿
package com.tyust.lawyermanager.dongao.mapper;

import com.tyust.lawyermanager.dongao.entity.Lawyer;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScans;

/**
 * 律师档案操作：创建律师档案，查询，删除，修改
 * @author liyan
 */
@Mapper
public interface LawyerMapper {
    /**
     * 添加律师（创建律师档案）
     * @param lawyer 包含律师信息的对象
     * @return 如果创建成功放回1
     */
    public int insertLawyer(Lawyer lawyer);
}